<template>
	<view class="content">
		<view class="list" v-for="(el,ind) in listlm" @click="nato(ind,el.url)">
			{{el.name}}
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '组件库',
				listlm:[{name:'列表'},{name:'海报'},{name:'上传'},{name:'时间'},{name:'个人中心'}]
			}
		},
		onLoad(options) {
			
		},
		methods: {
			nato(ind,url){
				uni.navigateTo({
					url:'/pages/index/zileixing?ind='+ind
				})
			}
		}
	}
</script>

<style>
	.list{
		width: 690rpx;
		height: 80rpx;
		line-height: 80rpx;
		border-radius: 10rpx;
		border: 1rpx solid #ccc;
		text-align: center;
		margin-bottom: 10rpx;
	}
	.content {
		padding: 20rpx 0;
	}

</style>
